package com.example.service;

import com.example.entity.User;
import com.example.entity.UserDTO;

/**
 * 用户操作相关接口
 */
public interface UserService {
    /**
     * 用户登录操作
     */
    public User login (UserDTO userLoginDTO) throws Exception;

    int exists(UserDTO userDTO) throws Exception;
}
